package org.example.onlineEducation.dao;

import org.example.onlineEducation.entity.Chapter;
import org.springframework.stereotype.Repository;

@Repository
public interface ChapterDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Chapter record);

    int insertSelective(Chapter record);

    Chapter selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Chapter record);

    int updateByPrimaryKey(Chapter record);
}